<?php


// Direct Accès Interdit
if (strpos($_SERVER['PHP_SELF'],basename(__FILE__)) !== false) {
  print "Direct module access forbidden.";exit;}


if(isset($_POST['datas']) && !empty($_POST['datas']) )
{
	global $dbi;
	$gid = $_GET['gid'];
	// On récupère la liste des datas qui corresponde
	$o_param = new LParam('sdoma',true,false,true);
	// Building the list
	$t_datas = GetSdomaFromMdoma($_POST['datas'],$gid);
	$o_param->SetList($t_datas);
	$o_param->label = false;
	$edit = $o_param->DOption();
		echo $edit ;
}
	
?>